bgo#625416 - Don't reload the filechooser's folder during a re-map event
authorFederico Mena Quintero <federico@novell.com>
Tue, 10 Aug 2010 16:36:03 +0000 (11:36 -0500)
committerFederico Mena Quintero <federico@novell.com>
Tue, 10 Aug 2010 16:36:03 +0000 (11:36 -0500)
commit3a1ba3bd1ed261c8ea964f1dfcdfd29acbc477f8
treeaefeb8dabd716311dd23110654aa0f741347d419
parent316b9da87322068533d50f52abadd6c0758fd187
bgo#625416 - Don't reload the filechooser's folder during a re-map event

Long ago, before we had file monitoring at the GIO/Glib level, we would
reload the current folder each time a file chooser gets (re)mapped.
This was basically to let the GIMP recycle the same file chooser for all
file/open or file/save operations, instead of creating a new one every time.
In that case, we reloaded the folder with each ::map() event so that the
file chooser would present an up-to-date view of the folder that was being
displayed.  Now, the folder should always be up-to-date as we do
file monitoring all the time.

Signed-off-by: Federico Mena Quintero <federico@novell.com>
gtk/gtkfilechooserdefault.c
gtk/gtkfilechooserprivate.h
gtk/tests/filechooser.c